import { BasicResponseData } from '@/api/type'

export interface loginForm {
  username: string
  password: string
}

export interface loginResponseData extends BasicResponseData {
  data: string
}

interface user {
  routes: string[]
  buttons: string[]
  roles: string[]
  avatar: string
  name: string
}
export interface userResponseData extends BasicResponseData {
  data: user | null
}
